package com.chen.pspms.utils;

//所有底层异常都转换为自定义的异常，并且是RuntimeException类型的。这样全球程序对所有异常做统一处理
public class ApplicationException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    public ApplicationException(String message) {
        super(message);
    }

    //将原始异常封闭到本异常中
    public ApplicationException(String message, Throwable th) {
        super(message, th);
    }
}